package com.bwhx.eruler.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bwhx.eruler.bean.FleeRuler;
import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.dao.FleeRulerDao;
import com.bwhx.eruler.service.FleeRulerService;

@Service
public class FleeRulerServiceImpl implements FleeRulerService{
	
	@Autowired
	FleeRulerDao fleerulerDao;

	@Override
	public List<FleeRuler> list(Page p) {
		return fleerulerDao.list(p);
	}

	@Override
	public Integer count(FleeRuler fr) {
		return fleerulerDao.count(fr);
	}

	@Override
	public void update(FleeRuler fleeruler) {

		fleerulerDao.update(fleeruler);
	}

	@Override
	public void insert(FleeRuler fleeRuler) {
		
		fleerulerDao.insert(fleeRuler);
		
	}

	

}
